import { Routes } from '@angular/router';
import { LoginComponent } from './login/login.component';
import { LayoutComponent } from './layout/layout.component';

export const routes: Routes = [
  { 
    path: '', 
    component: LayoutComponent,
    children: [
      { path: 'system', loadChildren: () => import('./pages/system/system.routes').then(m => m.SYSTEM_ROUTES) },
    ] 
  },
  { path: 'login', component: LoginComponent },
  
];
